#ifndef	_SPARCV9_H_
#define	_SPARCV9_H_

#include <sys/types.h>

#if HOST_OS_SOLARIS		/* { */
#include <sys/int_types.h>
#elif HOST_OS_LINUX		/* } { */
#include <stdint.h>
#endif				/* } */

#define	HOST_CPU_BIG_ENDIAN	1

	/*
	 * define non-ANSI names for signed integer types
	 * - do this explicitly because I can never remember
	 * that int32_t is signed ! so cast it to a sint32_t instead !
	 */

typedef	int8_t	sint8_t;
typedef	int16_t	sint16_t;
typedef	int32_t sint32_t;
typedef int64_t	sint64_t;

typedef enum { false=0, true=!false } bool_t;

typedef	uint32_t	ieee_fp32_t;
typedef	uint64_t	ieee_fp64_t;
typedef	long double	ieee_fp128_t;

#endif	/* #ifndef	_SPARCV9_H_ */
